package net.jblog.business.dao;

import java.util.List;

import net.jblog.data.model.Category;

public interface CategoryDao {
	void persist(Category entity);
	void merge(Category entity);
	
	Category findById(Long id);
	
	List<Category> findCategoriesParent();
	
	List<Category> findAllCategories();
	
	List<Category> findByCriteria(int index, int number, String order, boolean ascending);
}
